package com.mgg.common.enums;

/**
 * 订单状态
 */
public enum OrderStatusEnum {
	
//	'状态,0未支付，1 已支付，2已发货，3待退款，4退款成功，5交易成功，99已删除',
    UN_PAY(0, "未支付"),
    PAID(1,"已支付"),
    DELIVERED(2,"已发货"),
    UN_REFUND(3,"待退款"),
    REFUND_SUCCESS(4,"退款成功"),
    FINISH(5,"交易成功"),
    DEL(99,"已删除"),
    ;

	private int code;

    private String name;
    
    public int getCode() {
		return code;
	}

    public String getName() {
		return name;
	}
    
    OrderStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
